import http from './index'
// interface httpPorps {
//     usr:string,
//     method:string,
//     data:any
// }
//获取门店的收款信息
export const  collectionInfoApi:any = (data:object) =>{
    return  http({
        url:'/storefront/store/collection',
        method:"POST",
        data:data
    })
}
//获取门店的企业信息
export const  enterpriseInfoApi:any = (data:object) =>{
    return  http({
        url:'/storefront/enterprise/info',
        method:"POST",
        data:data
    })
}

//获取门店的所有信息
export const  getInfoApi:any = (data:object) =>{
    return  http({
        url:'/storefront/all/info',
        method:"POST",
        data:data
    })
}